package com.jenkins.test.cron;

import lombok.Getter;
import lombok.Setter;

/**
 * @version V1.0.0
 * @ClassName: {@link ScheduleBean}
 * @Description: 定时器任务抽象
 * @author: Lanzhou
 * @date: 2021/6/28 15:14
 * @Copyright:2020 All rights reserved.
 */
@Setter
@Getter
public class ScheduleBean {

    /**
     * 任务标识唯一, 对应的是 TaskRunnableContent 的key
     */
    private String key;

    /**
     * 描述
     */
    private String describe;

    /**
     * cron 表达式
     */
    private String cron;

    /**
     * 是否需要启动
     */
    private boolean startUp;


}
